WLD

Syntax: WLD (word1$, word2$ [,dummy] )     
    or: WLD (word1$, word2$, w1, w2, w3 [,dummy] )
Location: hnlichkeiten

This function calculates the weighted levenstein phonetic distance between two strings: the smaller the result, the more that the two strings are phonetically similar. If two strings are found to be identical, then 0 is returned, otherwise a postive integer is returned.

The value of the dummy parameter does not actually matter - if it is present then the function will not distinguish between upper and lower case characters.

The three additional parameters of the second syntax allow you to alter the importance of three possible factors used.

w1: wrong letters 
w2: strings too short
w3: strings too long

130 PRINT WLD(a$,b$,1,1,1), WLD(a$,b$,1,1,1,0) 

CROSS-REFERENCE:
SOUNDEX, PHONEM.
